import network from '@/common/network.js'

//企业成员管理-通过id列表删除
export const batchdeleteUsercommember = param=> {
  return network({
    url: `/gp-boot/gp/api/gpUsercommember/batchdelete?ids=${param}`,
    method: 'delete',
  })
}

//企业成员管理-批量添加
export const batchaddUsercommember = data=> {
  return network({
    url: '/gp-boot/gp/api/gpUsercommember/batchadd',
    data,
    method: 'post',
    auth: true,
  })
}


//企业成员管理-分页列表查询
export const getUsercommemberList = param=> {
  return network({
    url: '/gp-boot/gp/api/gpUsercommember/list',
    param,
    auth: true,
  })
}


//企业成员管理-获取企业信息
export const getUsercommember = param=> {
  return network({
    url: '/gp-boot/gp/api/gpUsercommember/getCom',
    param,
    auth: true,
  })
}
